package uk.co.hs.web.command.admin;

import java.util.List;

import uk.co.hs.domain.web.WebRole;
import uk.co.hs.domain.web.WebRoleUrl;
import uk.co.hs.web.util.RoleUrlWeb;

/**
 * RoleCommand.
 */
public class RoleCommand
{
  private String mAdminRequestedAction, mRoleId, mLoggedOnUserName, mLoggedOnRoleName;
  private WebRole mRole;
  private WebRoleUrl mRoleUrl;
  private Boolean mIsNew;
  private List<RoleUrlWeb> mListOfRoleUrlWebs;
  private List<String> mLinkedUserNames;

  /**
   * @return the adminRequestedAction.
   */
  public String getAdminRequestedAction()
  {
    return mAdminRequestedAction;
  }

  /**
   * @param aAdminRequestedAction the adminRequestedAction to set
   */
  public void setAdminRequestedAction(String aAdminRequestedAction)
  {
    mAdminRequestedAction = aAdminRequestedAction;
  }

  /**
   * @return the listOfRoleUrlWebs.
   */
  public List<RoleUrlWeb> getListOfRoleUrlWebs()
  {
    return mListOfRoleUrlWebs;
  }

  /**
   * @param aListOfRoleUrlWebs the listOfRoleUrlWebs to set
   */
  public void setListOfRoleUrlWebs(List<RoleUrlWeb> aListOfRoleUrlWebs)
  {
    mListOfRoleUrlWebs = aListOfRoleUrlWebs;
  }

  /**
   * @return the isNew.
   */
  public Boolean getIsNew()
  {
    return mIsNew;
  }

  /**
   * @param aIsNew the isNew to set
   */
  public void setIsNew(Boolean aIsNew)
  {
    mIsNew = aIsNew;
  }

  /**
   * @return the roleUrl.
   */
  public WebRoleUrl getRoleUrl()
  {
    return mRoleUrl;
  }

  /**
   * @param aRoleUrl the roleUrl to set
   */
  public void setRoleUrl(WebRoleUrl aRoleUrl)
  {
    mRoleUrl = aRoleUrl;
  }

  /**
   * @param aRoleId the roleId to set
   */
  public void setRoleId(String aRoleId)
  {
    mRoleId = aRoleId;
  }

  /**
   * @param aRole the role to set
   */
  public void setRole(WebRole aRole)
  {
    mRole = aRole;
  }

  /**
   * @return the roleId.
   */
  public String getRoleId()
  {
    return mRoleId;
  }

  /**
   * @return the role.
   */
  public WebRole getRole()
  {
    return mRole;
  }

  /**
   * @return the linkedUserNames
   */
  public List<String> getLinkedUserNames()
  {
    return mLinkedUserNames;
  }

  /**
   * @param aLinkedUserNames the linkedUserNames to set
   */
  public void setLinkedUserNames(List<String> aLinkedUserNames)
  {
    mLinkedUserNames = aLinkedUserNames;
  }

  /**
   * @return the loggedOnUserName
   */
  public String getLoggedOnUserName()
  {
    return mLoggedOnUserName;
  }

  /**
   * @param aLoggedOnUserName the loggedOnUserName to set
   */
  public void setLoggedOnUserName(String aLoggedOnUserName)
  {
    mLoggedOnUserName = aLoggedOnUserName;
  }

	/**
	 * @return the loggedOnRoleName
	 */
	public String getLoggedOnRoleName()
	{
		return mLoggedOnRoleName;
	}

	/**
	 * @param aLoggedOnRoleName the loggedOnRoleName to set
	 */
	public void setLoggedOnRoleName(String aLoggedOnRoleName)
	{
		mLoggedOnRoleName = aLoggedOnRoleName;
	}
}
